//
//  SearchView.h
//  EducationAdminClient
//
//  Created by KWSD on 16/1/11.
//  Copyright © 2016年 周佳兴. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIColor+CL.h"
@interface SearchView : UIView<UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate>
@property(nonatomic,strong)UIButton *backBtn;
@property(nonatomic,strong)UIButton *clearBtn;
@property(nonatomic,strong)UITableView *tableView;
@property(nonatomic,strong)UIButton *bottom;
@property(nonatomic,strong)UIImageView *line;
@property(nonatomic,strong)NSArray *fieldArr;
@property(nonatomic,strong)NSMutableDictionary *param;
@property(nonatomic,copy)NSString *pageID;
@property(nonatomic,copy)NSString *tableID;
@property(nonatomic,copy)NSString *searchUrl;
@property(nonatomic,strong)NSArray *rowArr;
@property(nonatomic,assign)NSInteger indexNum;
@property(nonatomic,strong)NSIndexPath *indexPath;

@property(nonatomic,strong)UIView *bottomView;
@property(nonatomic,strong)NSString *programaUrl;
@property(nonatomic,strong)NSMutableArray *arrSelected;

@property(strong, nonatomic)id  delegeteView;

@property(strong, nonatomic)id  currentShowView; // current show in whitch one view 

@property(strong, nonatomic)UIView * delegeteViewSele;


@property(nonatomic,strong)void(^cb)(NSDictionary *dic);

//-(instancetype)initWithDelegate:(id)delegatte;

-(void)userHeidden;

-(void)startAnima;
-(void)endAnima;
-(void)settimerView:(id)view;

-(instancetype)initWithBlock:( void(^)(NSDictionary *dic) )cb;

@end
